﻿using System;
using System.Collections.Generic;
using System.Text;
using OneMG.Phoenix.Entity;
using OneMG.Phoenix.Service.Model;

namespace OneMG.Phoenix.Service.Contracts
{
    public interface IRightsTypeService
    {
        System.Int32 AddRightsType(RightsTypeModel model );

		void UpdateByTypeID (RightsTypeModel model );

		void DeleteByTypeID (System.Int32 typeID );
		 
        RightsTypeModel GetByTypeID (System.Int32 typeID );

        IList<RightsTypeModel> GetAll();
        
    }
}